/** 
 * @file        i2c.h
 * @brief       
 * @details     
 * @author   fulong
 * @date     Mar 28, 2014
 * @version  1.0
 * @par Copyright (c):
 *       GPLv2
 */

#ifndef I2C_H_
#define I2C_H_

#include "../hal_include/hal_types.h"
extern void i2c_send_byte(uint8 data);
extern void i2c_start(void);
extern void i2c_stop(void);
extern void i2c_io_init(void);
extern uint8 i2c_receive_byte(void);
extern void i2c_sendACK(uint8);
extern  uint8 recieve_ACK(void);
extern volatile uint8 ack_status;


#endif /* I2C_H_ */

